import React from "react";
// 酒店订单列表
export async function apiHotelOrderPage(params) {
  return await React.$post('/management/hotelOrderInfo/page', params);
}
// 酒店订单详情列表
export async function getHotelOrderDetail(params) {
  return await React.$get('/management/hotelOrderDetail/getHotelOrderDetail', params);
}

// 酒店退单列表
export async function postHotelSalesReturnPage(params) {
  return await React.$post('/management/hotelSalesReturn/hotelSalesReturnPage', params);
}

// 酒店退单详情
export async function getHotelSalesReturnView(params) {
  return await React.$get(`/management/hotelSalesReturn/hotelSalesReturnView/${params}`);
}

// 酒店退单同意退款
export async function postHotelSalesReturnAgree(params) {
  return await React.$post('/management/hotelSalesReturn/agreeRefund', params);
}

// 酒店退单拒绝退款
export async function postHotelSalesReturnRefuse(params) {
  return await React.$post('/management/hotelSalesReturn/refuseRefund', params);
}